aux_source_directory(. SRC_LIST)

add_executable(ChatClient1 ${SRC_LIST})

add_executable(ChatClient2 ${SRC_LIST})

# 链接依赖库文件
target_link_libraries(ChatClient1 pthread)

target_link_libraries(ChatClient2 pthread)